<?php
	session_name("treinamento_ejcm");
	session_start();
	
	$_SESSION['usuario'] = "GuilhermeBruzzi";
	$_SESSION['logado'] = true;
	$_SESSION['tipo_mensagem'] = "Sucesso";
	$_SESSION['mensagem'] = "Usuário Logado com sucesso";
	header("Location: ./")
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pt-br">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		
		<meta http-equiv="content-language" content="pt-br" />
		<meta name="author" content="ejcm" />
		<meta name="keywords" content="ejcm" />
		
		<title>NOME DA PAGINA</title>
	</head>
	<body>
		<div id="principal">
			<a href="./index.php?id=<?php echo $_SESSION['nome'];?>">
index
</a>
		</div>
	</body>
</html>
